package com.zretc.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class Users implements Serializable {
    @TableId(type = IdType.AUTO)//TableId表示id这一类 为表的主键 type = IdType.AUTO 表示主健自增长
    private Integer id;
    private String username;
    private String password;
    private String nickname;
    private Timestamp addTime;
    private Double points;

    }

